/* reset css */
*,
::before,
::after{
    padding: 0;
    margin: 0;

    /*点击高亮效果*/
    -webkit-tap-highlight-color:transparent;/*清除点击高亮效果*/

    /*设置宽度以边框开始计算*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body{
    font-size: 14px;
    font-family:"MicroSoft YaHei",sans-serif;/*备用的默认字体*/
    color: #333;
}

ol,ul{
    list-style: none;
}
a{
    text-decoration: none;
    color: #333;
}
a:hover{
    color: #333;
}

input{
    border: none;
    outline: none;
    /*在移动端怎么清除默认的样式*/
    /*在移动端清除浏览器默认样式*/
    -webkit-appearance: none;
}

/*common css*/
.f_l{
    float: left;
}
.f_r{
    float: right;
}
.clearfix::after,
.clearfix::before{
    content: ".";
    line-height: 0;
    height: 0;
    display: block;
    visibility: hidden;
    clear: both;
}

/*设置背景图的公用样式  以icon_开始的class*/
[class^="icon_"]{
    background: url("../images/sprites.png") no-repeat;
    background-size: 200px 200px;
}


/*顶部通栏*/
.jd_topBar{
    width: 100%;
    height: 45px;
    border-bottom: 1px solid #e0e0e0;
    background: url("../images/header-bg.png")repeat-x;
    background-size: 1px 44px;
    position: absolute;

}
/*topBar下所有的a都共有的属性*/
.jd_topBar>a{
    width: 40px;
    height: 44px;
    position: absolute;
    top: 0;
    padding: 12px 10px;
    /*背景的定位从什么时候开始*/
    background-origin: content-box;
    /*背景从什么时候开始显示*/
    background-clip: content-box;
}
.jd_topBar>.icon_back{
    left: 0;
    background-position: -20px 0;
}
.jd_topBar>.icon_menu{
    right: 0;
    background-position: -60px 0;
}
.jd_topBar>form{
    width: 100%;
    padding:0 40px;
}
.jd_topBar>form>input{
    width: 100%;
    height: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 7px;
    padding: 0 10px;
}
.jd_topBar>h3{
    text-align: center;
    font-size: 16px;
    line-height: 44px;
    font-weight: normal;
}